<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="http://localhost:8080/HibernateDemo02_2/">
</head>
<body>

	<form action="user/update.do" method="post">
	<input type="hidden" name="id" value="${user.id }">
		<p>
			账号:<input type="text" name="account" value="${user.account }">
		</p>
		<p>
			密码:<input type="password" name="password" value="${user.password }">
		</p>
		<p>
			性别:<input type="text" name="sex" value="${user.sex }">
		</p>
		<p>
			生日:<input type="date" name="lastLogin" value="${user.lastLogin }">
		</p>
		<p><button>修改</button><a href="user/show.do">返回</a></p>
	</form>

</body>
</html>